:root {
  --bg-color: #fcfcfd;
  --text-main: #1a202c;
  --accent: #0284c7;

    --bg-color: #fcfcfd;
    --card-bg: #ffffff;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --accent: #0284c7; /* A bright, "happy" professional blue */
    --accent-light: #e0f2fe;
    --border: #e2e8f0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 40px 20px;
  line-height: 1.6;
}
.container {
  max-width: 700px;
  margin: 0 auto;
}
h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.25em;
}
.title-sub {
  font-size: 1.15rem;
  /*color: var(--accent);*/
  color: orange;
  background-color:var(--accent-light);
  font-weight: 600;
}
a {
  color: var(--accent);
}
nav ul {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
nav a {
  text-decoration: none;
  font-weight: 600;
}
nav .active > a {
  border-bottom: 2px solid var(--accent);
}
main {
  margin-top: 2em;
}
footer {
  margin-top: 3em;
  font-size: 0.85rem;
  opacity: 0.7;
}
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: blue;
}

        .cta-buttons {
              justify-content: flex-end;
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        .btn {
            display: inline-block;
            background-color: var(--text-main);
            color: #fff;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            font-size: 0.95rem;
            transition: background 0.2s;
        }

        .btn:hover {
            background-color: var(--accent);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-main);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background-color: var(--border);
        }

/*==========================================================================*/

/* 1. Reset the master container and remove default bullet padding */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 2. Style the top-level navigation row */
nav > ul {
  display: flex; /* Lines up Resume Highlights and Past Work horizontally */
  background-color: #fff; /* Match your background */
  gap: 20px; /* Spacing between your main menu items */
}

/* 3. Position context for the dropdown submenus */
nav > ul > li {
  position: relative; /* Allows the child menu to anchor perfectly beneath it */
  padding: 10px 0;
}

/* 4. Style all links nicely */
nav a {
  text-decoration: none;
  color: #0056b3; /* Match your current blue text link color */
  font-family: sans-serif;
  font-weight: bold;
}

/* 5. Highlight your current active page/section */
nav li.active > a {
  /*text-decoration: underline;*/ /* Emphasizes the active parent or page */
}

        /* Tech Stack / Tags */
        .tags {
            margin: 6px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        .title-tag {
            width: 260px;
            flex-shrink: 0;     
            
            padding: 0.2rem 0; 
            font-size: 1.1rem;
            font-weight: 600;
        }

        .tag {
            background-color: var(--accent-light);
            color: var(--accent);
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 600;
        }

        /* Automatically shades every second row */
        .tags:nth-child(odd) {
            background-color: rgb(245,245,245); /* Very light slate gray */
        }

/* ==========================================
   THE DROPDOWN MECHANICS 
   ========================================== */

/* 6. Pull submenus out of the normal layout flow and hide them */
nav ul ul {
  display: none; /* Keeps submenus hidden until needed */
  position: absolute; /* Prevents sub-items from forcing layout line-breaks */
  top: 100%; /* Positions the dropdown directly beneath the parent link */
  left: 0;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Gives depth to the overlay dropdown */
  padding: 10px;
  min-width: 200px; /* Ensures long child text strings don't wrap tightly */
  z-index: 999; /* Floating stacking order safety priority */
}

/* 7. Stack the child submenu items vertically inside the dropdown box */
nav ul ul li {
  display: block;
  padding: 5px 10px;
}

/* 8. The Magic Hover Rule: Reveal the child list when hovering the parent item */
nav ul li:hover > ul {
  display: flex;
  flex-direction: column; /* Stacks children cleanly on top of one another inside the box */
}


